package top.ligongzi.hrm.mapper;

import top.ligongzi.hrm.domain.LoginUser;
import top.ligongzi.hrm.domain.Permission;

import java.util.List;

public interface PermissionMapper {
    List<Permission> loadAll();

    List<Permission> loadPermissionsByUserId(Long id);
}
